<?php
//基础控制类
class Controller{
            public function initcontroller(){
                  header('Content-type:text;charset=utf-8');
            }
            public function __construct(){
                    $this->initcontroller();
            }
}